<?php
class Privileges_Data_Deleteprivilege implements Privileges_Data_Mainable{
    
    private $core_controller_dataoperation;
    
    public function __construct() {
        $this->core_controller_dataoperation = new Core_Controller_Dataoperation;
    }
    
    public function main(array $variables = null) {
        //var_dump($variables);
        //die();
        $variables['query'] = "DELETE FROM access_levels WHERE access_level_name = '".$variables['get']['name']."';";
        return $this->core_controller_dataoperation->main($variables);
    }
}
